blog

How to show only date/month/year in sharepoint list datetime column

Just Follow these simple steps:

  1. Goto the sharepoint list
  2. Click the datetime column name and select column settings
  3. Under column settings, select Format this column.
  4. A popup will appear on the right side.
  5. Scroll down and select Advanced mode.
  6. Remove everything inside the text Box and replace with the below code
  7. To show only date use the below code, if you want to show only month, replace getDate with getMonth. And if you want to show only year replace it with getYear.

{

"$schema":"https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json","elmType":"div","txtContent":"=getDate(@currentField) "

}

If this helps you. Don't forget to share with your friends. Thanks


Recent Blogs

Matthew 23:9

Should Christians Call Anyone on Earth "Father". Exploring the Meaning of Matthew 23:9 -
By : Tengkuma
Posted : 06 Apr 2023

Matthew 23:9 is a verse in the Bible that has been interpreted in various ways by different Christian denominations. Some interpret it literally, and refrain from calling any human being "father" as a title of respect or authority. Others see it as a warning against idolizing human leaders and emphasize the importance of focusing on God as the ultimate authority and source of truth. This article explores the meaning of Matthew 23:9 and provides insights into the different interpretations and contexts in which this verse has been used.

Continue reading

PHone

6 Tips for Choosing the Right Phone: A Guide to Finding the Perfect Device
By : Tengkuma
Posted : 22 Feb 2023

Looking for the perfect phone? This blog provides 6 tips to help you choose the right device, from determining your budget to evaluating camera quality and considering additional features. Whether you're new to smartphones or simply looking for an upgrade, this guide can help you make an informed decision.

Continue reading

Sharepoint Communication Site

Creating a Communication Site in SharePoint Online: A Step-by-Step Guide
By : Tengkuma
Posted : 22 Feb 2023

Learn how to create a communication site in SharePoint Online with this step-by-step guide. Create a hub for sharing news, reports, and other important information with your audience.

Continue reading

Harva khangai

KHANGKHUI PHUNGDHAR HARVA KHANGAI
By : Tengkuma
Posted : 22 Feb 2023

Explore the beauty and history of Khangkhui Phungdhar Harva Khangai, a hidden peak in Manipur, India. Learn about the stunning views of sunrise and sunset, and the area's historical significance as a battleground during World War II. Plan your next adventure to this lesser-known destination with our comprehensive guide.

Continue reading